This Windows help file was created using a help authoring tool called
Help Edit. With Help Edit, assembling the file took about an eighth of the
time it normally took me because I didn't have to write my own RTF
file or HPJ file. For any one who needs to write help systems in Windows,
this program comes highly recommended.
If you're familiar with WinSize, then you're already familiar with what
getPos does with regards to fetching window size coordinates. However,
I wrote getPos long before WinSize was available in response to the
lack of a sizing utility in Paradox. But in addition to fetching window
size values, I wanted to be able to dynamically size windows from getPos.
Included are all the files I used to create getPos. I also included all the
files used to create this help file so you can see what it takes. If you
have any questions, please contact me at the number above, or send
me mail via CIS.
Brendan
ºTopic0003
{\f0 \fs24 \cf9 \B Definitions}
{ \f0 \fs18 \cf1 Click on one of the selections to bring up a list of defined items on the Window Sizer Form.}
ñ{\f0 \fs20 \cf6 Key Combinations}½Topic0004╗
ñ{\f0 \fs20 \cf6 Field Object Definitions}½Topic0005╗
ñ{\f0 \fs20 \cf6 pushButtons}½Topic0009╗
ºTopic0004
{\f0 \fs24 \cf9 \B Key Combinations}
I've included some Alt-<key> combinations with getPos to make it easier to use the form. You'll notice that the key combinations are non-standard, or perhaps, even illogical key assignments. This is because getPos is NOT MODAL, which means that everything in Paradox is available to the designer, and that includes menus, which can also be accessed with Alt-<key> combinations. Below is the list of valid key combinations in getPos:
Alt-O Open Selected Form
Alt-I File Information
Alt-P Clipboard Copy
Alt-D Reset Coordinates
Alt-C Close getPos
ºTopic0005
{\f0 \fs24 \cf9 \B Field Object Definitions}
{\f0 \fs18 \cf1 The following contain specific descriptions on purpose and usage of each object within the form. While no ObjectPAL example are present, the concept is presented.}
ñ{\f0 \fs20 \cf6 Form Name}½Topic0007╗
ñ{\f0 \fs20 \cf6 Coordinate and Size : X, Y, Width, Height}½Topic0008╗
ºTopic0007
{\f0 \fs24 \cf9 \B Form Name Field}
The Form Name Field is a list box object that contains the valid form names for the current directory. The values are inserted into the list box at form open. The open method calls a custom method called getFileList() which performs an enumFileList("*.fsl",dForms). dForms is a dynamic array that's defined in the Var method of the form. The dynArray values are then passed into the list box values through a FOR loop.
ºTopic0008
{\f0 \fs24 \cf9 \B Coordinate and Size Fields}
The coordinate and size fields (denoted by X, Y, Width, and Height) define the position and size of the selected form when it's opened. These fields may be left blank when opening a form. When left blank, once the called form is closed, its default position and size are returned to Window Sizer and Positioner and the corresponding values are returned to the fields. This helps in gauging the amount needed to be increased or decreased to current values.
ºTopic0009
{\f0 \fs24 \cf9 \B PushButtons and Features}
The following are a list of features available in the utility:
ñ{\f0 \fs20 \cf6 Windows Help Facility}½Topic0011╗
ñ{\f0 \fs20 \cf6 Open Selected Form}½Topic0012╗
ñ{\f0 \fs20 \cf6 File Information}½Topic0013╗
ñ{\f0 \fs20 \cf6 Copy Coordinates to Clipboard}½Topic0014╗
ñ{\f0 \fs20 \cf6 Coordinate Reset to Blank}½Topic0015╗
ñ{\f0 \fs20 \cf6 Close}½Topic0016╗
ºTopic0011
{\f0 \fs24 \cf9 \B Help File}
This file explains the features and functions of the various objects contained in the utility. Short definitions are made with references to ObjectPAL to give people an idea of what is going on behind the scenes in the form.
ºTopic0012
{\f0 \fs24 \cf9 \B Open Selected Form}
The Open button opens up the selected form from the picklist, and places it on the workspace. In addition to opening the form, it grabs the current getPosition() parameters and inserts them into the appropriate fields. This gives the developer a way of gauging how much a window must be sized or moved.
ºTopic0013
{\f0 \fs24 \cf9 \B DOS File Information}
This simply brings up a form that contains DOS file information. The form's table is loaded using the second form of enumFileList() which writes the file information to a user-defined table.
ºTopic0014
{\f0 \fs24 \cf9 \B Copy Coordinates to Clipboard}
Pressing this button will copy the currently display coordinates to the clipboard.
{\f0 \fs20 \cf1 \i Hint: If you open up the form again immediately after copying, you go into Design Mode and enter in the setPosition method in the Open method of the form.}
ºTopic0015
{\f0 \fs24 \cf9 \B Reset Coordinates and Sizes}
This clears all the coordinate and size parameters. It's much easier than deleting the values field-by-field.